package com.lancoo.edu.platform.operation.backupRestore.service.po.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lancoo.edu.platform.operation.backupRestore.domain.po.BrProductSysInfo;
import com.lancoo.edu.platform.operation.backupRestore.service.po.BrProductSysInfoService;
import com.lancoo.edu.platform.operation.backupRestore.mapper.BrProductSysInfoMapper;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Admin
* @description 针对表【br_product_sys_info(数据备份还原-产品对应系统信息表)】的数据库操作Service实现
* @createDate 2024-03-25 11:24:25
*/
@Service
public class BrProductSysInfoServiceImpl extends ServiceImpl<BrProductSysInfoMapper, BrProductSysInfo>
    implements BrProductSysInfoService{

    /**
     * 获取产品对应系统信息列表
     *
     * @param keyword     关键字
     * @return 产品对应系统信息列表
     */
    @Override
    public List<BrProductSysInfo> getList(String keyword){
        return lambdaQuery()
                .like(StringUtils.isNotBlank(keyword), BrProductSysInfo::getProductName, keyword)
                .list();
    }

}




